<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-heading"><h4>第三方接口测试</h4></div>
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="name">输入卡号:</label>
                        <div class="col-sm-6">
                            <input type="text" name="shop_no" id="card_no" required="required" placeholder="" class="form-control">
                        </div>
                    </div>
                    {eq name="$shop['api_version']" value="ziyoudao"}
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="name">输入手机号码:</label>
                        <div class="col-sm-6">
                            <input type="text" name="mobile" id="mobile"  required="required" placeholder="" class="form-control">
                        </div>
                    </div>
                    {/eq}
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="name">接口类型:</label>
                        <div class="col-sm-6">
                            <input type="text" readonly="readonly" value="{$shop['api_version']}" class="form-control">
                        </div>
                    </div>
                    <div class="form-group">
                    	  <label class="col-sm-3 control-label"></label>
                    	  <div class="col-sm-6">
                    	  	  <button class="btn btn-danger" id="get_contract">获取合同信息</button>
                    	  	  <button class="btn btn-danger m-l-5" id="check_in">CheckIn</button>
                    	  	  <button class="btn btn-danger m-l-5" id="get_list">获取私教列表</button>
                    	  </div>
                    </div>
                    <input type="hidden" value="{$shop['id']}" id="shop_id" />
                    <input type="hidden" value="{$shop['api_version']}" id="api_version" />
                    <div class="form-group">
                    	<div class="col-sm-4">
                    		<label class="col-sm-3 control-label">配置：</label>
	                    	<div class="col-sm-9">
	                    		<textarea class="form-control" readonly rows="20" id="config"  cols="50" id="result">{$shop['extra_config']}</textarea>
	                    	</div>
                    	</div>
                    	<div class="col-sm-8">
                    		<label class="col-sm-3 control-label">结果：</label>
	                    	<div class="col-sm-9">
	                    		<textarea class="form-control" rows="20"  cols="50" id="result" readonly></textarea>
	                    	</div>
                    	</div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}shop/debug.js'></script>